package com.redpack.quick.service;

import com.redpack.quick.datasource.entity.TaskEntity;
import org.springframework.data.domain.Page;

/**
 * Created by shuttle on 4/2/18.
 */
public interface ITask {

    Page<TaskEntity> findByPage(int pageSize, int pageNum);

    TaskEntity findById(long id);
}
